package vo;

import java.sql.Timestamp;

/**
 * Payment entity. @author MyEclipse Persistence Tools
 */

public class Payment implements java.io.Serializable {

	// Fields

	private Integer id;
	private Saleorder saleorder;
	private Staff staff;
	private String paymentNo;
	private Double amount;
	private String payType;
	private String payTransactionNo;
	private Timestamp payDateTime;

	// Constructors

	/** default constructor */
	public Payment() {
	}

	/** full constructor */
	public Payment(Saleorder saleorder, Staff staff, String paymentNo,
			Double amount, String payType, String payTransactionNo,
			Timestamp payDateTime) {
		this.saleorder = saleorder;
		this.staff = staff;
		this.paymentNo = paymentNo;
		this.amount = amount;
		this.payType = payType;
		this.payTransactionNo = payTransactionNo;
		this.payDateTime = payDateTime;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Saleorder getSaleorder() {
		return this.saleorder;
	}

	public void setSaleorder(Saleorder saleorder) {
		this.saleorder = saleorder;
	}

	public Staff getStaff() {
		return this.staff;
	}

	public void setStaff(Staff staff) {
		this.staff = staff;
	}

	public String getPaymentNo() {
		return this.paymentNo;
	}

	public void setPaymentNo(String paymentNo) {
		this.paymentNo = paymentNo;
	}

	public Double getAmount() {
		return this.amount;
	}

	public void setAmount(Double amount) {
		this.amount = amount;
	}

	public String getPayType() {
		return this.payType;
	}

	public void setPayType(String payType) {
		this.payType = payType;
	}

	public String getPayTransactionNo() {
		return this.payTransactionNo;
	}

	public void setPayTransactionNo(String payTransactionNo) {
		this.payTransactionNo = payTransactionNo;
	}

	public Timestamp getPayDateTime() {
		return this.payDateTime;
	}

	public void setPayDateTime(Timestamp payDateTime) {
		this.payDateTime = payDateTime;
	}

}